package com.yenroc.invoice.constant;


/**
 * 蓝字发票标志, 0：蓝字发票；1：红字发票
 */
public enum InvoiceFlagEnum implements BaseEnum<String> {
    BLUE_INVOICE("0", "蓝字发票"),
    RED_INVOICE("1", "红字发票");

    private final String code;
    private final String desc;

    InvoiceFlagEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}